import React from 'react';
import classNames from 'classnames';

export default function DownloadButton({src, className,order}: { src: string, className?: string,order?:number  }) {
  function handleClick() {

  }

  return (
    <a
      className={classNames(className, {
        'video-react-control': true,
        'video-react-button': true
      })}
      href={src}
      target={"_blank"}
      download
      style={{
        backgroundImage:
          'url()',
        backgroundRepeat: 'no-repeat',
        backgroundPosition: 'center'
      }}
      tabIndex={0}
      onClick={handleClick}
    />
  );
}